package com.hmall.mapper;

import com.hmall.model.SysUserDealer;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysUserDealerMapper extends MyMapper<SysUserDealer> {
    List<Integer> selectByUserId(@Param("userId") Integer userId);

    List<Integer> selectByDealerId(@Param("dealerId") Integer dealerId);
}